import request from "@/utils/request";

export function getUeProject(data) {
  return request({
    url: "/pixel/ueserver/getUefiles",
    method: "post",
    data,
  });
}

export function deleteUeProject(data) {
  return request({
    url: "/pixel/ueserver/deleteUefiles",
    method: "post",
    data,
  });
}

export function unzipUefile(data) {
  return request({
    url: "/pixel/ueserver/unzipUe",
    method: "post",
    data,
  });
}

export function getUnzipUefileProgress(taskId) {
  return request({
    url: `/pixel/ueserver/getUnzipUeProgress/${taskId}`,
    method: "get",
  });
}
